﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM2012Server.Business
{
    public class InventoryDetailInfo
    {
        private String inventoryId;
        public System.String InventoryId
        {
            get { return inventoryId; }
            set { inventoryId = value; }
        }
        private String materialId;
        public System.String MaterialId
        {
            get { return materialId; }
            set { materialId = value; }
        }
        private int quantity;
        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }
        private String unitId;
        public System.String UnitId
        {
            get { return unitId; }
            set { unitId = value; }
        }
        private double price;
        public double Price
        {
            get { return price; }
            set { price = value; }
        }
        private bool isDeleted;
        public bool IsDeleted
        {
            get { return isDeleted; }
            set { isDeleted = value; }
        }
        public InventoryDetailInfo()
        {

        }

        public InventoryDetailInfo(String inventoryId, String materialId, int quantity, String unitId, double price, bool isDeleted)
        {
            this.inventoryId = inventoryId;
            this.materialId = materialId;
            this.quantity = quantity;
            this.unitId = unitId;
            this.price = price;
            this.isDeleted = isDeleted;
        }
    }
}
